org.neo4j.index.lucene
Class LuceneFulltextDataSource
java.lang.Object
org.neo4j.kernel.impl.transaction.xaframework.XaDataSource
org.neo4j.index.lucene.LuceneDataSource
org.neo4j.index.lucene.LuceneFulltextDataSource
public class LuceneFulltextDataSource
- extends LuceneDataSource
A lucene XA data store for storing fulltext indexing.
This class is public because the XA framework requires it.
| Methods inherited from class org.neo4j.index.lucene.LuceneDataSource |
applyLog, close, deleteDocumentsUsingWriter, deleteLogicalLog, getAnalyzer, getCreationTime, getCurrentLogVersion, getFileName, getIndexService, getLogicalLog, getLogicalLog, getLogicalLogLength, getRandomIdentifier, getXaConnection, hasLogicalLog, isLogicalLogKept, keepLogicalLogs, makeBackupSlave, rotateLogicalLog, setAutoRotate, setIndexService, setLogicalLogTargetSize |
| Methods inherited from class org.neo4j.kernel.impl.transaction.xaframework.XaDataSource |
getBranchId, getName, setBranchId, setName, shouldKeepLog |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneFulltextDataSource
public LuceneFulltextDataSource(Map<Object,Object> params)
throws InstantiationException
- Constructs a
LuceneFulltextDataSource.
- Parameters:
params - XA parameters
- Throws:
InstantiationException - if the data source couldn't be
instantiated
createTransaction
public org.neo4j.kernel.impl.transaction.xaframework.XaTransaction createTransaction(int identifier,
org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog logicalLog)
getIndexStrategy
protected org.apache.lucene.document.Field.Index getIndexStrategy(String key,
Object value)
- Overrides:
getIndexStrategy in class LuceneDataSource
getDeleteDocumentsKey
protected String getDeleteDocumentsKey()
- Overrides:
getDeleteDocumentsKey in class LuceneDataSource
fillDocument
protected void fillDocument(org.apache.lucene.document.Document document,
long nodeId,
String key,
Object value)
- Overrides:
fillDocument in class LuceneDataSource
configureLog
protected void configureLog(Map<?,?> config)
- Overrides:
configureLog in class LuceneDataSource
Copyright © 2010 Neo4j. All Rights Reserved.